package com.briup.cms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.briup.cms.bean.Category;
import com.baomidou.mybatisplus.extension.service.IService;
import com.briup.cms.bean.Slideshow;
import com.briup.cms.bean.extend.CategoryExtend;

import java.util.List;

/**
* @author wo'q'q'c
* @description 针对表【cms_category】的数据库操作Service
* @createDate 2024-11-18 15:52:41
*/
public interface CategoryService  {

    void save(Category category);

    Category getById(Long id);


    void update(Category category);

    IPage<Category> query(Integer pageNum, Integer pageSize, Integer parentId);

    List<CategoryExtend> selectAllParent();

}
